package com.cskaoyan.service;

import com.cskaoyan.bean.role.*;

import java.util.List;

public interface RoleService {
    List<RoleOptionVO> options();

    RoleListVO list(Integer page, Integer limit, String name, String sort, String order);

    Role create(Role role);

    int update(Role role);

    void delete(Role role);


//    void store(SystemPermissions firstPermissions);

    PermissionBean permissions(Integer roleId);

    int permissions2(PermissionBO permissionBO);
}
